package org.example.dao.dto.market;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.dao.dto.market.CommodityDto;
import org.example.dao.entity.market.CImage;
import org.example.dao.entity.market.CStore;

import java.util.ArrayList;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class StoreDto {

    //唯一标识id
    private Long id;

    //商铺信息
    private CStore store;

    public StoreDto(CStore store) {
        this.id = store.getId();
        this.store = store;
    }

}
